#ifndef FILEDOWNLOADREQUESTRECEPTORPROCESS_H_
#define FILEDOWNLOADREQUESTRECEPTORPROCESS_H_

#include <stdio.h>
#include <string.h>
#include <sys/wait.h>
#include "SignalHandler.h"
#include "SIGINT_Handler.h"
#include "Process.h"
#include "RequestFifo.h"
#include "SharedRecord.h"
#include "FileUploaderProcess.h"

using namespace std;

class FileDownloadRequestReceptorProcess: public Process {

private:
	string requestFifoName;

public:
	FileDownloadRequestReceptorProcess(LogFile* logFile);
	virtual ~FileDownloadRequestReceptorProcess();

	void setRequestFifoName(string requestFifoName);

protected:
	virtual int doWork();
	virtual string getProcessName();
};

#endif /* FILEDOWNLOADREQUESTRECEPTORPROCESS_H_ */
